package com.jjyu.entity;

import java.time.LocalDateTime;

public class RestaurantRating {
    private Long userId;        // 用户ID
    private Long restaurantId;   // 餐厅ID
    private Double rating;       // 评分
    private LocalDateTime ratingTime;  // 评分时间

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(Long restaurantId) {
        this.restaurantId = restaurantId;
    }

    public Double getRating() {
        return rating;
    }

    public void setRating(Double rating) {
        this.rating = rating;
    }

    public LocalDateTime getRatingTime() {
        return ratingTime;
    }

    public void setRatingTime(LocalDateTime ratingTime) {
        this.ratingTime = ratingTime;
    }
}
